Platform Explorer / Nuxeo Platform LTS 2016 8.10

Contribution org.nuxeo.ecm.platform.picture.convert--converter

This contribution is part of XML component org.nuxeo.ecm.platform.picture.convert inside nuxeo-platform-imaging-convert-8.10.jar /OSGI-INF/convert-service-contrib.xml

Extension Point

Extension point converter of component ConversionServiceImpl.

Contributed Items

  • <converter class="org.nuxeo.ecm.platform.picture.convert.RotationPictureConverter" name="pictureRotation">
          <sourceMimeType>image/jpeg</sourceMimeType>
          <sourceMimeType>image/png</sourceMimeType>
          <sourceMimeType>image/gif</sourceMimeType>
          <destinationMimeType>image/jpeg</destinationMimeType>
          <destinationMimeType>image/png</destinationMimeType>
          <destinationMimeType>image/gif</destinationMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.platform.picture.convert.ResizePictureConverter" name="pictureResize">
          <sourceMimeType>image/jpeg</sourceMimeType>
          <sourceMimeType>image/png</sourceMimeType>
          <sourceMimeType>image/gif</sourceMimeType>
          <destinationMimeType>image/jpeg</destinationMimeType>
          <destinationMimeType>image/png</destinationMimeType>
          <destinationMimeType>image/gif</destinationMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.platform.picture.convert.CropPictureConverter" name="pictureCrop">
          <sourceMimeType>image/jpeg</sourceMimeType>
          <sourceMimeType>image/png</sourceMimeType>
          <sourceMimeType>image/gif</sourceMimeType>
          <destinationMimeType>image/jpeg</destinationMimeType>
          <destinationMimeType>image/png</destinationMimeType>
          <destinationMimeType>image/gif</destinationMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.platform.picture.convert.ConvertToPDFPictureConverter" name="pictureConvertToPDF">
          <sourceMimeType>image/jpeg</sourceMimeType>
          <sourceMimeType>image/png</sourceMimeType>
          <sourceMimeType>image/gif</sourceMimeType>
          <destinationMimeType>application/pdf</destinationMimeType>
        </converter>

XML Source

<extension point="converter" target="org.nuxeo.ecm.core.convert.service.ConversionServiceImpl">

    <converter class="org.nuxeo.ecm.platform.picture.convert.RotationPictureConverter" name="pictureRotation">
      <sourceMimeType>image/jpeg</sourceMimeType>
      <sourceMimeType>image/png</sourceMimeType>
      <sourceMimeType>image/gif</sourceMimeType>
      <destinationMimeType>image/jpeg</destinationMimeType>
      <destinationMimeType>image/png</destinationMimeType>
      <destinationMimeType>image/gif</destinationMimeType>
    </converter>
    
    <converter class="org.nuxeo.ecm.platform.picture.convert.ResizePictureConverter" name="pictureResize">
      <sourceMimeType>image/jpeg</sourceMimeType>
      <sourceMimeType>image/png</sourceMimeType>
      <sourceMimeType>image/gif</sourceMimeType>
      <destinationMimeType>image/jpeg</destinationMimeType>
      <destinationMimeType>image/png</destinationMimeType>
      <destinationMimeType>image/gif</destinationMimeType>
    </converter>
    
    <converter class="org.nuxeo.ecm.platform.picture.convert.CropPictureConverter" name="pictureCrop">
      <sourceMimeType>image/jpeg</sourceMimeType>
      <sourceMimeType>image/png</sourceMimeType>
      <sourceMimeType>image/gif</sourceMimeType>
      <destinationMimeType>image/jpeg</destinationMimeType>
      <destinationMimeType>image/png</destinationMimeType>
      <destinationMimeType>image/gif</destinationMimeType>
    </converter>

    <converter class="org.nuxeo.ecm.platform.picture.convert.ConvertToPDFPictureConverter" name="pictureConvertToPDF">
      <sourceMimeType>image/jpeg</sourceMimeType>
      <sourceMimeType>image/png</sourceMimeType>
      <sourceMimeType>image/gif</sourceMimeType>
      <destinationMimeType>application/pdf</destinationMimeType>
    </converter>

  </extension>